// Lou Decroo
// updated 12-04-09

public class Response {

	//this class should hold 1 user response
	// for a particular question identified by the qid in the database
    public String resp;
    public int id;

    public Response (String input, int qid)
    {
    	resp = input;
    	id = qid;
    }

    public String getResponse(){
        return resp;
    }

    public void setResponse(String input){
        resp = input;
    }

    public int getAssociatedQuestionId(){
        return id;
    }

    public void setAssociatedQuestionId(int qid){
        id = qid;
    }
    
    public String toString(){
    	return resp;
    }
}